package day5;


public class Student {
    
	String name ;
	int id;
	Course course = new Course();
	Course[][][] cou=new Course[6][2][3];
	int scoi=5;
	int scoj=0;
	public Student(){}
	public Student(String name){
		this.name = name;
	}
	public void addScore(int xq,String ScoreName,float score){
		Course s=new Course();
		s.xq=xq;
        s.coursename=ScoreName;
        s.score=score;
        scoj = (s.coursename.equals("china")?0:(s.coursename.equals("math")?1:2));
        cou[scoi][xq][scoj] = s;
    }
	
}
